package com.modudf.common
{
	import mx.collections.ArrayCollection;

	public class Global
	{
		[Bindable]
//		public static var IP:String="http://localhost:8080/modudf/";
//		public static var IP:String="http://localhost:8080/MODUDF-WEB/";
		public static var IP:String="";

		[Bindable]
		public static var indexURL:String="Main.html";
		
		[Bindable]
		public static var STEP:int = 0;
		
		public static var DEFAULT_GROUP_OWNER:String = "default_owner";

		[Bindable]
		public static var cacheType:int=2; //0是无缓存 1是缓存 2是修改后无缓存
		
		public static var isInitialized:Boolean = false;
		
		[Bindable]
		public static var groupsData:ArrayCollection;
		
		[Bindable]
		public static var tablesData:ArrayCollection;
		
		public static function init(initialized:Boolean) {
			isInitialized = initialized;
			groupsData = new ArrayCollection();
			tablesData = new ArrayCollection();
		}
		
	}
}